/*------------------------------------------------------------------
 Project:    Paperclip
 Author:     Yevgeny S.
 URL:        https://twitter.com/YevSim
 Version:    1.0
 Created:        11/03/2014
 Last change:    01/04/2014
 -------------------------------------------------------------------*/

/* ===== Tooltips ===== */

$('#tooltip').tooltip();

$(document).ready(function() {
    $('#menu li a').click(function() {
        var parent = $(this).parent();
        if (!parent.hasClass('active')) {
            parent.addClass('active').siblings().removeClass('active');
        }
    });
});